// TemperatureTrendData.java
package site.isscloud.project.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.util.List;

/**
 * 温度趋势数据对象
 */
public class TemperatureTrendData {

    /** 设备编号 */
    private String deviceNo;

    /** 通道号 */
    private Integer channelNo;

    /** 统计时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date statTime;

    /** 最高温度数组 */
    private List<Double> maxTemperatures;

    /** 最低温度数组 */
    private List<Double> minTemperatures;

    /** 平均温度数组 */
    private List<Double> avgTemperatures;

    /** 样本数量 */
    private Integer sampleCount;

    // getter和setter方法
    public String getDeviceNo() { return deviceNo; }
    public void setDeviceNo(String deviceNo) { this.deviceNo = deviceNo; }

    public Integer getChannelNo() { return channelNo; }
    public void setChannelNo(Integer channelNo) { this.channelNo = channelNo; }

    public Date getStatTime() { return statTime; }
    public void setStatTime(Date statTime) { this.statTime = statTime; }

    public List<Double> getMaxTemperatures() { return maxTemperatures; }
    public void setMaxTemperatures(List<Double> maxTemperatures) { this.maxTemperatures = maxTemperatures; }

    public List<Double> getMinTemperatures() { return minTemperatures; }
    public void setMinTemperatures(List<Double> minTemperatures) { this.minTemperatures = minTemperatures; }

    public List<Double> getAvgTemperatures() { return avgTemperatures; }
    public void setAvgTemperatures(List<Double> avgTemperatures) { this.avgTemperatures = avgTemperatures; }

    public Integer getSampleCount() { return sampleCount; }
    public void setSampleCount(Integer sampleCount) { this.sampleCount = sampleCount; }
}